package cn.edu.nju.software.cdiy.bean;

import java.io.Serializable;
import java.util.Date;

public class Scomment implements Serializable {

	private static final long serialVersionUID = 6090266394994401092L;

	private Long id;

	private Long userid;
	private String username;
	private Long schemeid;
	private Date time;
	private int score;

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	private String good;
	private String bad;
	private String summary;
	private String rsv1;
	private String rsv2;

	private String rsv3;

	public void setAttr(Scomment comment) {

		this.time = comment.time;
		this.score = comment.score;
		this.good = comment.good;
		this.bad = comment.bad;
		this.summary = comment.summary;
		this.rsv1 = comment.rsv1;
		this.rsv2 = comment.rsv2;
		this.rsv3 = comment.rsv3;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getGood() {
		return good;
	}

	public void setGood(String good) {
		this.good = good;
	}

	public String getBad() {
		return bad;
	}

	public void setBad(String bad) {
		this.bad = bad;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getRsv1() {
		return rsv1;
	}

	public void setRsv1(String rsv1) {
		this.rsv1 = rsv1;
	}

	public String getRsv2() {
		return rsv2;
	}

	public void setRsv2(String rsv2) {
		this.rsv2 = rsv2;
	}

	public String getRsv3() {
		return rsv3;
	}

	public void setRsv3(String rsv3) {
		this.rsv3 = rsv3;
	}

	public Long getSchemeid() {
		return schemeid;
	}

	public void setSchemeid(Long schemeid) {
		this.schemeid = schemeid;
	}

}
